
add_subdirectory(base)
add_subdirectory(ip)
add_subdirectory(icmp)
add_subdirectory(tcp)
add_subdirectory(udp)
add_subdirectory(user)
add_subdirectory(file)
add_subdirectory(test)

set (STREAM_INCLUDES
    paf.h
    stream.h
    stream_splitter.h
)

add_library( stream OBJECT
    stream.cc
    stream_inspectors.cc
    stream_inspectors.h
    stream_splitter.cc
)

add_library( stream_paf OBJECT
    flush_bucket.cc
    flush_bucket.h
    paf.cc
)

install (FILES ${STREAM_INCLUDES}
    DESTINATION "${INCLUDE_INSTALL_PATH}/stream"
)
